html {
    background-color: #111418; /* Same as your desired background color */
    color-scheme: light;
    background-blend-mode: normal;
}


.background-container {
    position: fixed;
    top: 00;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* background-image: url('CodleBackgroundOnly.jpg'); */
    /* background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; */
    background-color: #111418; 
    z-index: -1; /* Place the background behind other elements  */
    transition: background-color 0.5s;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}


body {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    /* font-family: 'Inconsolata', monospace; */
    /* font-family: 'Droid Sans Mono', monospace; */
    /* font-family: 'VT323', monospace; */
    /* font-family: 'Cutive Mono', monospace; */
    font-weight: 400;
    font-style: Regular;

    text-align: center;
    background-color: transparent;
    /* background-color: transparent; Remove background color from body */
    overflow: hidden; /* Hide scroll bars caused by fixed elements */
    position: fixed;
    top: 55%;
    left: 41.5%;
    margin: 0;
    padding: 0;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}


body2 {
    font-family: 'Courier New', Courier, monospace;
    text-align: center;
    background-color: transparent; /* Remove background color from body */
    overflow: hidden; /* Hide scroll bars caused by fixed elements */
    position: fixed;
    top: 65%;
    left: 41.5%;
    margin: 0;
    padding: 0;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}


h1 {
    /* color: #ffffff; */
    transition: color 0.5s;
    text-align: center;
    position: fixed;
    /* font-size: calc((60vh / 20)); */
    /* bottom: calc(100vh - 92px); */
    top:-10px;
    font-size:30px;
    /* font-size:clamp(20px, 30px, 46px); */
    left: 50vw;


    max-width: 120px;
    max-height:46px;


    transform: translateX(-50%); /* Horizontally center the text */
    /* line-height: 1; */
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

/* button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    position: fixed;
    top: 59.6%;
    left: 57%;
    transform: translateX(-50%); /* Horizontally center the text */
/* } */

/* input { 
    padding: 5px;
    border: 2px solid #ccc;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
} */

p#result {
    position: fixed;
    /* top: calc(60vh+50px); */
    width: 100vw;
    font-size: calc(0.96 * (60vh / 20));
    /* top: 60vh; */
    /* bottom:calc(27.5vh); */

    /* top:calc((27.5vh - 100px - (0.96 * (60vh / 20)) + 77vh) / 2); */
    bottom:22.78125vh;


    /* margin-top: 40px;
    margin-bottom: 10px; */
    left: 50vw;
    transform: translateX(-50%);
    color: #ffffffff;
    text-align: center;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}


#myCanvas {
    border: 0px solid rgb(254, 253, 253);
    position: fixed;
    /* top: 10vh; Adjust this value to move the element down */
    top:46px;
    

    /* font-size: calc(0.96 * (100vw / 20)); */
    /* top: 60vh; */
    /* bottom:calc(42.5vw + (0.96 * (100vw / 20))); */
    /* margin-top: 40px; */
    /* height: calc(42.5vw + (0.96 * (100vw / 20)));; */
    height:calc(100vh - 27.5vh - 100px - (3 * 0.96 * (60vh / 20))); 
    max-width: 100vw;
    max-height:100vw;
    


    /* bottom:00px; */
    left: 50%;
    /* height:50vh;
    width:50vh; */
    transform: translateX(-50%);
    color: #0d00fd;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

#keyCanvas {
    border: 0px solid rgb(234, 233, 233);
    position: fixed;
    /*top: 65vh; /* Use the same value as myCanvas's top */
    bottom:0vh;
    left: 50vw;
    /* height:30vw; */
    width:60vh;
    /* width:22.5vh; */
    height:22.78125vh;
    max-width: 100vw;
    max-height:100vw;
    /* height:30vh; */
    transform: translateX(-50%);
    color: #0d00fd;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    /* margin-bottom: 5px;*/
    margin-top: 5vh; 

    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

    /* tap-highlight-color: transparent; For other browsers */
    
} 

/* .key-circle:hover {
    cursor: pointer;
} */



#helpButton {
    font-family: 'Courier New', Courier, monospace;
    position: fixed;
    /* top: -484px;
    right: -395px; */
    top: 0vh;
    right: calc(50% - 42.5vw / 2 + 30px);;
    height: 30px;
    width: 20px;
    margin: 5px;
    padding: 3px;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    
    -webkit-tap-highlight-color: transparent; /**/
    text-align: center;
    line-height:30px;
    vertical-align: middle;
    border: 2px solid #111418;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}

#STATSButton {
    font-family: 'Courier New', Courier, monospace;
    position: fixed;
    top: 0vh;
    /* right: -415px; */
    right: calc(50% - 42.5vw / 2); /* Adjust based on keyCanvas width */
    height: 30px;
    width: 20px;
    margin: 5px;
    padding: 3px;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    
    -webkit-tap-highlight-color: transparent; /**/
    text-align: center;
    line-height:30px;
    vertical-align: middle;
    border: 2px solid #111418; 
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}

#SettingsButton {
    font-family: 'Courier New', Courier, monospace;
    position: fixed;
    top: 0vh;
    /* right: -415px; */
    right: calc(50% - 42.5vw / 2 + 60px); /* Adjust based on keyCanvas width */
    height: 30px;
    width: 20px;
    margin: 5px;
    padding: 3px;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    
    -webkit-tap-highlight-color: transparent; /**/
    /* align-items: center; */
    text-align: center;
    line-height:30px;
    vertical-align: middle;
    border: 2px solid #111418; 
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */


}


#barChartCanvas {
    /* border: 0px solid rgb(255, 255, 255); */
    position: absolute;
    /* top: calc(50px+50vh); Use the same value as myCanvas's top */
    /* top:15vh; */
    top: 110px;
    left:50%;
    /* height:60%; */
    /* width:90%; */
    /* width:90%; */
    width:calc(0.96*35vw);
    height: calc(0.75*0.96*35vw);
    transform: translateX(-50%);
    color: #000000;
    text-align: center;
    /*border: 2px solid #000000; /*  Add a black border with 2 pixels width */


    /* cursor: pointer; */
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    
} 

#PCanvas {
    /* border: 0px solid rgb(255, 255, 255); */
    position: absolute;
    /* top: calc(50px+50vh); Use the same value as myCanvas's top */
    /* top:15vh; */
    top: 90px;
    left:50%;
    /* height:60%; */
    /* width:90%; */
    /* width:90%; */
    /* width:calc(0.96*35vw); */
    height:70vh;
    /* height: calc(0.75*0.96*35vw); */
    transform: translateX(-50%);
    color: #000000;
    text-align: center;
    /* border: 2px solid #000000; /*  Add a black border with 2 pixels width */


    /* cursor: pointer; */
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    
} 


#PkeyCanvas {
    /* border: 1px solid black; */
    position: fixed;
    /*top: 65vh; /* Use the same value as myCanvas's top */
    bottom:5px;
    left: 50%;
    /* height:30vw; */
    /* width:35vw; */
    width:60vh;
    height:22.5vh;
    /* height:30vh; */
    transform: translateX(-50%);
    color: #0d00fd;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    /* margin-bottom: 5px;*/
    margin-top: 5vh; 

    /* tap-highlight-color: transparent; For other browsers */
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    
} 


#SettingsCanvas {
    /* border: 0px solid rgb(255, 255, 255); */
    position: absolute;
    /* top: calc(50px+50vh); Use the same value as myCanvas's top */
    /* top:15vh; */
    top: 110px;
    left:50%;
    /* height:60%; */
    /* width:90%; */
    /* width:90%; */
    width:calc(0.96*35vw);
    height: calc(0.75*0.96*35vw);
    transform: translateX(-50%);
    color: #000000;
    text-align: center;
    /* border: 2px solid #000000; /*  Add a black border with 2 pixels width */


    /* cursor: pointer; */
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    
} 


#labelCanvas {
    /* border: 1px solid #000;
    background-color: rgba(255, 255, 255, 1); Fully opaque white background */
    position: fixed;
    /* top: calc(50px+50vh); Use the same value as myCanvas's top */
    /* top:15vh; */
    top: 0;
    left:0;

    width:100%;
    height: 100%;
    /* transform: translateX(-50%); */
    /* color: #000000; */
    /* text-align: center; */
    /* border: 2px solid #000000; /*  Add a black border with 2 pixels width */


    /* cursor: pointer; */
    z-index: 2000;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    
} 




/* Modal styles */
.modal { /* dark background modal */
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

}

.modal-labels { /* labels modal */
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    opacity: 0;
    visibility: hidden;
    /* transform: translateY(50px); */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    
}

.modal-content { /* Stats and settings modal */
    background-color: #FFF2CC; 
    position: fixed;
    top: 50px;
    margin: 0 auto;
    width: 35vw;
    /* height: 70vh; */
    height:calc(155px + (0.75*0.96*35vw));
    
    /* height: 50vw; */
    color: #000000;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.1;
    overflow-y: auto;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    transform: translateX(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transition: background-color 0.5s;
}


.modal-content3 { /* instructions modal */
    background-color: #FFF2CC;
    position: fixed;
    top: 15px;
    margin: 0 auto;
    width: 35vw;
    /* height: 70vh; */
    bottom:15px;
    
    /* height: 50vw; */
    color: #000000;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.1;
    overflow-y: auto;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    transform: translateX(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transition: background-color 0.5s;
}


.modal.show {
    opacity: 1;
    visibility: visible;
}


.modal.show .modal-content {
    transform: translateX(0);
    opacity: 1;
}

.modal.show .modal-content2 {
    transform: translateX(0);
    opacity: 1;
}

.modal.show .modal-content3 {
    transform: translateX(0);
    opacity: 1;
}


.modal.show .modal-practice {
    transform: translateX(0);
    opacity: 1;
}
  

.modal-labels.show {
    /* transform: translateY(0); */
    visibility: visible;
    opacity: 1;
}
  


.modal-content2 { /* Cookie modal */
    background-color: #FFF2CC !important;
    position: fixed;
    top: 50px;
    margin: 0 auto;
    width: 35vw;
    /* height: 70vh; */
    height:calc(155px + (0.75*0.96*65vh));
    /* height: 50vw; */
    color: #000000 !important;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    line-height: 1.1;
    overflow-y: auto;
    text-align: center;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    transform: translateX(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.modal-practice {
    background-color: #FFF2CC;
    position: fixed;
    top: 5px;
    margin: 0 auto;
    width: 60vh;
    /* height: 70vh; */
    /* height:calc(155px + (0.75*0.96*65vh)); */
    bottom:5px;
    /* height: 50vw; */
    color: #000000;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    line-height: 1.1;
    /* overflow-y: auto; */
    text-align: center;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    transform: translateX(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}


#shareButton {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 15px;
    position: absolute;
    /* top: calc(95px + (0.75*0.96*35vw)); */
    bottom: 15px;
    /* right: -415px; */
    right: 50%; /* Adjust based on keyCanvas width */
    margin: 5px;
    padding: 10px;
    background-color: #00B050;
    color: #ffffff;
    cursor: pointer;
    transform: translateX(50%);
    border-radius: 10px; 
    /* line-height: 1; Adjust this value to control the height */
    transition: background-color 0.1s; /* Add a transition for smooth colour change */
    -webkit-tap-highlight-color: transparent; /**/
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    outline: none;
    box-shadow: none;

}




#PButton {
    font-family: 'Courier New', Courier, monospace;
    position: absolute;
   /* right: -415px; */
    right: 50%; /* Adjust based on keyCanvas width */
    margin: 5px;
    padding: 20px;
    background-color: #00B050;
    color: #ffffff;
    cursor: pointer;
    transform: translateX(50%);
    border-radius: 10px; 
    /* line-height: 1; Adjust this value to control the height */
    transition: background-color 0.1s; /* Add a transition for smooth colour change */
    -webkit-tap-highlight-color: transparent; /**/
    display: inline-block;
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}

#AcceptButton {
    font-family: 'Courier New', Courier, monospace;
    position: absolute;
    /* top: calc(90px + (0.75*0.96*35vw)); */
    /* top:calc(90px + (0.75*0.96*50vw)); */
    /* right: -415px; */
    right: 50%; /* Adjust based on keyCanvas width */
    margin: 5px;
    padding: 20px;
    background-color: #000000;
    color: #fff2cc;
    cursor: pointer;
    transform: translateX(50%);
    border-radius: 10px; 
    /* line-height: 1; Adjust this value to control the height */
    transition: background-color 0.1s; /* Add a transition for smooth colour change */
    -webkit-tap-highlight-color: transparent; /**/
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */

}


.disable-dbl-tap-zoom {
    touch-action: manipulation;
}

/* Close button styles */
.closestats {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.closelabels {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 30px;
    cursor: pointer;
    z-index: 3000;
    -webkit-tap-highlight-color: transparent;
}

.closehelp {
    color: #111418;
    /* color: #27ff52; */
    position: fixed;
    top: 30px;
    /* right: 20px; */
    right: calc(33vw + 5px);

    /* top: 50px;*/
    font-size: 30px;
    /* right: calc(32.5vw + 5px); */
    cursor: pointer;
    /* will-change: transform, top, right; */
    z-index: 3000;
    /* opacity: 0; */
    display: none;
    /* transform: translateX(50px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0; */
    -webkit-tap-highlight-color: transparent;
}

.closepractice {
    position: fixed;
    /* top: 10px;
    right: 10px; */
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    white-space: nowrap;
    z-index: 2000;
    
}

.backpractice {
    position: fixed;
    /* top: 10px;
    right: 10px; */
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    white-space: nowrap;
    z-index: 2000;
}

@media (orientation: portrait), (max-width: 600px){
/* @media (max-width: 600px) { */
    .modal-content {
        width: 85vw;
        /* height: 50vh; */
        height:calc(155px + (0.75*0.96*100vw));
        top: 10%;
    }

    .modal-content3 {
        width: 85vw;
        /* height: 50vh; */
        /* height:calc(155px + (0.75*0.96*100vw)); */
        top: 20px;
        bottom: 20px;
    }

    .modal-content2 {
        width: 85vw;
        /* height: 50vh; */
        height:calc(175px + (0.75*0.96*60vh));
        top: 10%;
    }

    .modal-practice {
        width: 85vw;
        top: 10px;
        bottom: 10px;
        /* height: 50vh; */
        /* height:calc(155px + (0.75*0.96*100vw)); */
        /* top: 10%; */
    }



    #PkeyCanvas {
        border: 0px solid black;
        position: fixed;
        bottom: 0vh; /* Use the same value as myCanvas's top */
        left: 50%;
        width:85vw;
        height:calc(0.85 * 37.5vw);
        transform: translateX(-50%);
        color: #0d00fd;
        text-align: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent; /* For iOS */
        margin-bottom: 5px;
        margin-top: 15px;
    } 


    /* #helpButton {
        position: absolute;

        top: -52.5vh;
        right: calc(50% - 42.5vw / 2 + 20px);;
    
        margin: 5px;
        padding: 3px;
        background-color: #ffffff;
        color: #000000;
        cursor: pointer;
        line-height: 1; /* Adjust this value to control the height */
    
    /* } */ 
    


    #helpButton {
        font-family: 'Courier New', Courier, monospace;
        position: fixed;
        top: 1px; /* Adjust as needed */
        /* right: 1vw; Adjust as needed */
        right:25px; /* Adjust as needed */
        margin: 1px;
        padding: 3px;
        background-color: #ffffff;
        transform: translateX(-50%);
        color: #000000;
        cursor: pointer;
        border: 2px solid #BCBCBC; 
        border-radius: 2px; 


    }



    #STATSButton {
        font-family: 'Courier New', Courier, monospace;
        position: fixed;
        top: 1px; 
        /* right: 1vw;  */
        right:-10px; 
        margin: 1px;
        padding: 3px;
        background-color: #ffffff;
        transform: translateX(-50%);
        color: #000000;
        cursor: pointer;
        border: 2px solid #BCBCBC; 
        border-radius: 2px; 


    }

    #SettingsButton {
        font-family: 'Courier New', Courier, monospace;
        position: fixed;
        top: 1px; 
        /* right: 1vw;  */
        right:60px; 
        margin: 1px;
        padding: 3px;
        background-color: #ffffff;
        transform: translateX(-50%);
        color: #000000;
        cursor: pointer;
        border: 2px solid #BCBCBC; 
        border-radius: 2px; 


    }



    #barChartCanvas {
        font-family: 'Courier New', Courier, monospace;
        /* border: 0px solid rgb(255, 255, 255); */
        position: absolute;
        /* top: calc(50px+50vh); Use the same value as myCanvas's top */
        /* top:15vh; */
        top: 110px;
        left:50%;
        /* height:60%; */
        /* width:90%; */
        /* width:90%; */
        width:calc(0.93*100vw);
        height: calc(0.75*0.93*100vw);
        transform: translateX(-50%);
        color: #000000;
        text-align: center;
        
        /* border: 2px solid #000000;  Add a black border with 2 pixels width */
    
    
        /* cursor: pointer; */
        
    } 

    
    #SettingsCanvas {
        font-family: 'Courier New', Courier, monospace;
        /* border: 0px solid rgb(255, 255, 255); */
        position: absolute;
        /* top: calc(50px+50vh); Use the same value as myCanvas's top */
        /* top:15vh; */
        top: 110px;
        left:50%;
        /* height:60%; */
        /* width:90%; */
        /* width:90%; */
        width:calc(0.93*100vw);
        height: calc(0.75*0.93*100vw);
        transform: translateX(-50%);
        color: #000000;
        text-align: center;
        
        /*border: 2px solid #000000;  /* Add a black border with 2 pixels width */
    
    
        /* cursor: pointer; */
        
    }


    #shareButton {
        position: absolute;
        /* top: calc(90px + (0.75*0.96*100vw)); */
        bottom: 15px;
   
    }


    

    .closehelp {
        position: fixed;
        /* top: 10px;
        right: 10px; */
        top: calc(40px);
        right: calc(7.5vw + 5px);
        font-size: 30px;
        cursor: pointer;
    }

    .closepractice {
        position: fixed;
        /* top: 10px;
        right: 10px; */
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        white-space: nowrap;
        z-index: 2000;
    }

    .backpractice {
        position: fixed;
        /* top: 10px;
        right: 10px; */
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        cursor: pointer;
        white-space: nowrap;
        z-index: 2000;
    }

    #PCanvas {
        border: 0px solid black;
        position: fixed;
        top: calc(15vh - 20px); 
        /* bottom:calc(42.5vw + 20vw); */
        left: 50%;
        /* height:50vh; */
        max-width: 100vw;
        max-height:100vw;
        /* width:100vw;
        height:100vw; */
        margin-bottom:calc(42.5vw + 40px);
        transform: translateX(-50%);
        color: #0d00fd;
        text-align: center;
        /* margin-bottom: 15px; */
        margin-top: 5px;
    }


    /* h1 {
        font-size: calc(1.3 * (100vw / 20));

    } */


    /* #myCanvas {
        height: calc(42.5vw);
        /* font-size: calc(0.96 * (100vw / 20));
        /* top: 60vh; */
        /* bottom:calc(42.5vw);

        
    } */



}

@media (max-width: 300px){

    h1 {


        text-align: right;
        position: fixed;
        /* font-size: calc((60vh / 20)); */
        /* bottom: calc(100vh - 92px); */
        /* top:-10px;
        font-size:30px; */
        /* font-size:clamp(20px, 30px, 46px); */
        left: 50px;

        /* 
        max-width: 120px;
        max-height:46px; */


        transform: translateX(-50%); /* Horizontally center the text */

    }

}


